
*table 1 - raw logit for model 1 and 2
logit win ib4.gender_dyad ib3.lawyerstat_p c.movingwall_diff i.appointed_p c.amici_diff ib4.support_pf i.previoussg_p i.clerk CSI i.legalSalience scotuslowercongruence term, vce(cluster term)
margins, dydx(*)

logit win ib4.gender_dyad##i.clerk ib3.lawyerstat_p c.movingwall_diff i.appointed_p c.amici_diff ib4.support_pf i.previoussg_p CSI i.legalSalience scotuslowercongruence term 


logit win ib4.gender_dyad##c.term c.scotuslowercongruence##i.gender_dyad ib3.lawyerstat_p c.movingwall_diff i.appointed_p c.amici_diff ib4.support_pf i.previoussg_p i.clerk CSI i.legalSalience, coefleg
est store model2

suest model1 model2, vce(cluster term) coefleg


est restore model2
margins ib4.gender_dyad, at(scotuslowercongruence = (-1.22(.1)1.22)) contrast(nowald effects)
marginsplot, recast(line) recastci(rarea) yline(0, lpattern(-)) by(gender_dyad) ytitle("Pr(Petitioner Wins)")

logit win ib4.gender_dyad ib3.lawyerstat_p c.movingwall_diff i.appointed_p c.amici_diff ib4.support_pf i.previoussg_p i.clerk CSI i.legalSalience scotuslowercongruence term
est store women1

logit win ib4.gender_dyad##i.womensissue ib3.lawyerstat_p c.movingwall_diff i.appointed_p c.amici_diff ib4.support_pf i.previoussg_p i.clerk CSI i.legalSalience scotuslowercongruence term, vce(cluster term)
est store women2

suest women1 women2, vce(cluster term) coefleg
